class Fixnum
  def has_style?(style)
    (self & style) == style
  end
  alias has_flag? has_style?
end

class Bignum
  def has_style?(style)
    (self & style) == style
  end
  alias has_flag? has_style?
end
